<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
<form id='empty-array-form'> 
    <select name="searchable[]" id='searchable' multiple='multiple' >
    	 <?php foreach($info['table1'] as $if1){ ?>
            <option value='<?php echo $if1['campaignid']?>'>id=<?php echo $if1['campaignid']?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $if1['campaignname']?></option>
        <?php } ?>
        <?php foreach($info['table2'] as $if2){ ?>
            <option value='<?php echo $if2['campaignid']?>' selected="selected">id=<?php echo $if2['campaignid']?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $if2['campaignname']?></option>
        <?php } ?>
    </select>
    <script type="text/javascript">
		$().ready(function() {
			$('#searchable').multiselect2side({
				search: "Search: "
			});
			
		});
	</script>
    
</form>
<div style="clear:both"><span></span></div>